package com.WFinstitute.service;


import java.util.List;

import com.WFinstitute.domain.Scholar;
import com.WFinstitute.util.Page;

/**
 * 
 * @author 匹夫
 * @date 2016-7-28 下午8:25:00
 * @function
 */

public interface ScholarService {
	Scholar addScholar(Scholar scholar);
	Page<Scholar> findScholarList(Integer pageSize,Integer pageIndex,String name);
    long count();
    Scholar updateScholar(Scholar scholar);
    Scholar findScholarById(Integer id);
    Scholar findScholarByName(String name);
    void deleteScholarById(Integer id);
    List<Scholar> findScholarList();
}
